package com.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.dao.CommunicationMapper;
import com.entity.Communication;

@Service
public class CommunicationService {
	
	@Resource
	CommunicationMapper communicationMapper;
	public Communication show(String idnumber){
		return communicationMapper.show(idnumber);
	}
	
	public int update(Communication comm){
		return communicationMapper.update(comm);
	}
}
